/*
 * Copyright (c) 2013, 5 Idiots. All rights reserved.
 */
package safari.model.sell;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import safari.model.common.ListVO;
/**
 * SellBoardDao 인터페이스
 * @author kosta-00-01
 *
 */
public interface SellBoardDao {
	public void insertContent(SellBoardVO svo) throws SQLException;
	public SellBoardVO selectContent(int sellNo) throws SQLException;
	public void deleteContent(SellBoardVO svo) throws SQLException;
	public void updateContent(SellBoardVO svo) throws SQLException;
	public void updateContentExceptFile(SellBoardVO svo) throws SQLException;
	public void selectUpdate() throws SQLException;
	public List<SellBoardVO> selectContentListByTitle(SellBoardSearchVO sbsvo) throws SQLException;
	public List<SellBoardVO> selectContentListByContent(SellBoardSearchVO sbsvo) throws SQLException;
	public List<SellBoardVO> selectContentListByProductName(SellBoardSearchVO sbsvo) throws SQLException;
	public void updateHits(Map updateHitsVO) throws SQLException;
	public List<SellBoardVO> selectContentList(int nowPage) throws SQLException;
	public int selectTotalContents() throws SQLException;
	public void deleteFileName(String filename) throws SQLException;
	public int selectTotalContentsByTitle(String keyword) throws SQLException;
	public int selectTotalContentsByContent(String keyword) throws SQLException;
	public int selectTotalContentsByProductName(String keyword) throws SQLException;
	public void insertHotKeyword(String keyword)throws SQLException;
	public int updateHotKeyword(String keyword)throws SQLException;
}
